<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>主页面</title>
    <style>
        #tologin {
            float: right;
        }
    </style>
</head>
<body>
<div id="bar">
    <a id="tologin" th:href="@{/student/tologin}">去登录</a>
    <a th:href="" th:text="${student.getName()}"></a>


</div>
</body>
</html>